package dwz.business.lotto.impl;

import java.util.List;

import dwz.business.lotto.DaiLiHuiyuanInterface;
import dwz.common.util.web.PageInfo;
import dwz.persistence.beans.DaiLiHuiyuan;
import dwz.persistence.beans.DaiLiHuiyuanExample;
import dwz.persistence.mapper.DaiLiHuiyuanMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Transactional(rollbackFor = Exception.class)
@Service
public class DaiLiHuiyuanInterfaceImpl implements DaiLiHuiyuanInterface{
	@Autowired
	DaiLiHuiyuanMapper daiLiHuiyuanMapper;
	@Override
	public int countByExample(DaiLiHuiyuanExample example) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(DaiLiHuiyuanExample example) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insertSelective(DaiLiHuiyuan record) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.insertSelective(record);
	}

	@Override
	public List<DaiLiHuiyuan> selectByExample(DaiLiHuiyuanExample example) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.selectByExample(example);
	}

	@Override
	public List<DaiLiHuiyuan> selectByExampleWithPage(
			DaiLiHuiyuanExample example, PageInfo pageInfo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public DaiLiHuiyuan selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(DaiLiHuiyuan entity) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.updateByPrimaryKeySelective(entity);
	}

	@Override
	public List<DaiLiHuiyuan> selectAllWithPage(DaiLiHuiyuan entity,
			PageInfo pageInfo) {
		
		return null;
	}

	@Override
	public DaiLiHuiyuan selectEntityByExample(DaiLiHuiyuanExample example) {
		// TODO Auto-generated method stub
		return daiLiHuiyuanMapper.selectEntityByExample(example);
	}

}
